/*
 *------------------------------------------------------------------------------
 * @File      :    ei_mai_aenc.h
 * @Date      :    2021-4-8
 * @Author    :    lomboswer <lomboswer@lombotech.com>
 * @Brief     :    Media Interface for MADP(Media Development Platform).
 *
 * Copyright (C) 2020-2021, LomboTech Co.Ltd. All rights reserved.
 *------------------------------------------------------------------------------
 */

#ifndef __EI_MAI_AENC_H__
#define __EI_MAI_AENC_H__

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif

#include "ei_mai_aenc_define.h"

EI_S32 EI_MAI_AEnc_Init(EI_HANDLE AEncHdl,EI_MADP_AENC_ATTR_S* pstAencAttr);

EI_S32 EI_MAI_AEnc_DeInit(EI_HANDLE AEncHdl);

EI_S32 EI_MAI_AEnc_Start(EI_HANDLE AEncHdl);

EI_S32 EI_MAI_AEnc_Stop(EI_HANDLE AEncHdl);

EI_S32 EI_MAI_AEnc_RegisterCallback(EI_HANDLE AEncHdl, EI_AENC_CALLBACK_S *pstAencCB);

EI_S32 EI_MAI_AEnc_UnRegisterCallback(EI_HANDLE AEncHdl, EI_AENC_CALLBACK_S *pstAencCB);

EI_S32 EI_MAI_AEnc_LinkACap(EI_HANDLE ACapHdl,EI_HANDLE AEncHdl);

EI_S32 EI_MAI_AEnc_UnLinkACap(EI_HANDLE ACapHdl,EI_HANDLE AEncHdl);

EI_S32 EI_MAI_Register_ExtAudioEncoder(EI_MADP_AENC_ENCODER_S* pstAencEncoder,EI_HANDLE* ps32AEncoderHdl);

EI_S32 EI_MAI_UnRegister_ExtAudioEncoder(EI_HANDLE s32AEncoderHdl);

#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif

#endif
